//
//  Account.h
//  Weibo
//
//  Created by Anasue on 9/14/15.
//  Copyright (c) 2015 Anasue. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Account : NSObject <NSCoding>
/**  string	用于调用access_token，接口获取授权后的access token */
@property (nonatomic, copy) NSString *access_token;

/** string	access_token的生命周期，单位是秒数 */
@property (nonatomic, copy) NSString *expires_in;

/** 过期时间 */
@property (nonatomic, strong) NSDate *expires_time;

/** string	当前授权用户的UID  */
@property (nonatomic, copy) NSString *uid;

/** screen_name	false	string	需要查询的用户昵称。 */
@property (nonatomic, copy) NSString *name;

+ (instancetype)accountWithDict:(NSDictionary *)dict;
@end
